Adding .swf files or animations with activities

To include .swf files that you can't convert to .flv files, or any animation with activities where students interact with animations by clicking, use either the flashApplet tag or the javaApplet tag. Animations can either be single movies, or several movies linked together with a playlist. You can add animations to introductions, Parts, and Hints.

To add an animation:

  1. Upload or copy the file(s) to a server. File names cannot contain spaces.
  1. Upload the latest swf player (flvplayer.swf), as well as a caption file, any .jpg thumbnail images, and a playlist file (for multiple animations linked together) as assets.
  2. Place the cursor where you want the animation to appear.

For the animation to display flush right in an introduction, with text on the left, place the cursor at the start of the Introduction field.

  1. Right-click and select Insert > flashApplet or Insert > javaApplet.

    To add an animation to a Hint, add a paragraph after the last Hint text, and place the tag in the new paragraph.
  2. Enter the Height and Width of the animation.

  1. In the Src field, enter flvplayer.swf.
  2. Enter information depending on whether you're adding a single animation or several linked together with a playlist:
Single animation Two or more animations with a playlist

For the Flash applet, click add flashVars, and add:

* The full path to the file
* The opening or splash image file name (.jpg)
* The caption file name (.xml)
* Animation attributes (see flashVars single animation example)

For the Java applet, click add params and add the full path to the file and attributes such as whether to show thumbnails.

For the Flash applet, click add flashVars, and add:

* The playlist file (.xml)
* Attributes (see flashVars playlist example)

For the Java applet, click add params and add the playlist file and attributes such as whether to show thumbnails.

 

  1. Click Preview to watch the animation.

See also: 

Adding multiple media files with a playlist

About caption files

Adding multiple media files with a playlist